import weChatLogin from '../components/login/weChatLogin.vue'
import mobilLogin from '../components/login/mobilLogin.vue'
import forgotPassword from '../components/login/forgotPassword.vue'
import register from '../components/login/register.vue'
import listenBook from '../components/listenBook/index.vue' // 首页
import confirOrder from '../components/listenBook/confirOrder.vue'
import openVIP from '../components/listenBook/openVIP.vue'
import downloadNow from '../components/listenBook/downloadNow.vue'
import listenbook from '../components/listenBook/listenbook.vue' // 听书界面
import tryListen from '../components/listenBook/try.vue'
import manuscript from '../components/listenBook/manuscript.vue'
import bindPhone from '../components/login/bindPhone.vue'
//产品分类
import productClassify from '../components/productClassify/index.vue'
// 书籍详情
import bookDetail from '../components/bookDetail/index.vue'
export default [
    {
        path: '/',
        redirect: '/listenBook',
        meta: {
            title: '每日听书'
        }
    },    
    {
        path: '/wechatlogin',
        component: weChatLogin,
        meta: {
            title: '登录'
        }
    },
    {
        path: '/mobillogin',
        name: 'mobillogin',
        component: mobilLogin,
        meta: {
            title: '登录'
        }
    },
    {
        path: '/forgotPassword',
        component: forgotPassword,
        meta: {
            title: '忘记密码'
        }
    },
    {
        path: '/register',
        component: register,
        meta: {
            title: '注册'
        }
    },
    {
        path: '/listenBook',
        component: listenBook,
        meta: {
            title: '每日听书'
        }
    },
    {
        path: '/try',
        component: tryListen,
        meta: {
            title: '播放'
        }
    },
    {
        path: '/confirOrder',
        name: 'confirOrder',
        component: confirOrder,
        meta: {
            title: '确认订单'
        }
    },
    {
        path: '/openVIP',
        component: openVIP,
        meta: {
            title: '开通成功'
        }
    },
    {
        path: '/downloadNow',
        component: downloadNow,
        meta: {
            title: '下载懂行'
        }
    },
    {
        path: '/listen',
        component: listenbook,
        meta: {
            title: '开通成功'
        }
    },
    {
        path: '/productClassify',
        component: productClassify,
        meta: {
            title: '分类'
        }
    },
    {
        path: '/bookDetail',
        component: bookDetail,
        meta: {
            title: '详情'
        }
    },
    {
        path: '/manuscript',
        component: manuscript,
        meta: {
            title: '详情'
        }
    },
    {
        path: '/bindPhone',
        component: bindPhone,
        meta: {
            title: '注册'
        }
    }
]
